package com.shop.pojo.oms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//订单项信息
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("oms_order_item")
public class Oms_Order_Item {
@TableId(type = IdType.AUTO)
    private Long id;
    private Long order_id;//order_id
    private String order_sn;//order_sn
    private Long spu_id;//spu_id
    private String spu_name;//spu_name
    private String spu_pic;//spu_pic
    private String spu_brand;//品牌
    private Long category_id;//商品分类id
    private Long sku_id;//商品sku编号
    private String sku_name;//商品sku名字
    private String sku_pic;//商品sku图片
    private double sku_price;//商品sku价格
    private int sku_quantity;//商品购买的数量
    private String sku_attrs_vals;//商品销售属性组合（JSON）
    private double promotion_amount;//商品促销分解金额
    private double coupon_amount;//优惠券优惠分解金额
    private double integration_amount;//积分优惠分解金额
    private double real_amount;//该商品经过优惠后的分解金额
    private int gift_integration;//赠送积分
    private int gift_growth;//赠送成长值


}
